<nz-modal [nzVisible]="visible" nzTitle="设置搜索字段" [nzWidth]="800" [nzMask]="false" (nzOnCancel)="close()"
    (nzOnOk)="confirm()">
    <ng-container *nzModalContent>
        <div nz-row>
            <div nz-col nzSpan="6" *ngFor="let col of columns">
                <input type="checkbox" [title]="col.title" style="margin-right: 4px;cursor: pointer;"
                    [checked]="selectedFields.indexOf(col.field)>=0" (change)="onFieldChanged($event,col.field)" />
                <span>{{col.title}}</span>
            </div>
        </div>
    </ng-container>
</nz-modal>